package com.jt.www.model.torectify.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jt.www.model.param.PageParam;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


public class CorrectListParam extends PageParam {
    @ApiModelProperty(value = "冲正单号")
    private String correctNo;

    @ApiModelProperty(value = "1保单，2批单")
    private Integer orderType;

    @ApiModelProperty(value = "冲正类型(1一般性冲正、2保费冲正、3批单/保单删除)")
    private Integer correctType;

    @ApiModelProperty(value = "审核状态 1待审核，2审核通过、3审核拒绝")
    private Integer approveStatus;

    @ApiModelProperty(value = "冲正状态1待冲正、2冲正成功、3冲正失败")
    private Integer correctStatus;

    @ApiModelProperty(value = "提交开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "提交结束时间")
    private Date endTime;

    @ApiModelProperty(value = "分支机构编码")
    private String branchCode;

    @ApiModelProperty(value = "系统渠道编码", hidden = true)
    private String sysChannelCode;

    public String getCorrectNo() {
        return correctNo;
    }

    public void setCorrectNo(String correctNo) {
        this.correctNo = correctNo;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getCorrectType() {
        return correctType;
    }

    public void setCorrectType(Integer correctType) {
        this.correctType = correctType;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Integer getCorrectStatus() {
        return correctStatus;
    }

    public void setCorrectStatus(Integer correctStatus) {
        this.correctStatus = correctStatus;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getSysChannelCode() {
        return sysChannelCode;
    }

    public void setSysChannelCode(String sysChannelCode) {
        this.sysChannelCode = sysChannelCode;
    }
}
